/*
 * @Descripttion: 
 * @version: 
 * @Author: qingzi
 * @Date: 2023-03-03 15:33:40
 * @LastEditors: qingzi
 * @LastEditTime: 2023-03-03 16:20:22
 */
// 医疗科室损失列表
// 救治需求分析计算-列表
// 伤员分配分析计算-列表1(区域)
// 伤员分配分析计算-列表2(区域)
// 伤员分配分析计算-列表3(系数)
// 可救治伤员数量分析计算-列表
// 实际救治伤员数量分析-医院实际救治能力计算-列表
// 实际救治伤员数量分析-区域医疗实际救治能力计算-列表
// 震后功能损失-导则算法计算-列表
// ----------------------------------
export type listType = {
   body: [],
    head: Array<headListType>,
    projectId:number
}

export type headListType = {
    children: Array<headInnerListType>,
    label: string,
    prop:string
}

export type headInnerListType = {
    children: [],
    label: string,
    prop:string
}
// ----------------------------------

// 医疗科室损失列表
export type lossBargraph = {
    name: string,
    vo1List:Array<vo1ListType>
}

export type vo1ListType = {
    name: string,
    value:number
}

//医务人员损失列表
export type perHossListType = {
   body: [],
    head: Array<perHeadListType>,
    projectId:number
}

export type perHeadListType = {
    children: Array<perHeadInnerListType>,
    label: string,
    prop:string
}

export type perHeadInnerListType = {
    children: [],
    label: string,
    prop:string
}

// 医务人员损失柱状图
export type perLossBargraphType = {
    name: string,
    vo1List: Array<pervo1ListType>,
}

export type pervo1ListType = {
    name: string,
    value:number
}

//救治需求分析-受灾点伤员数量
export type wdListType = {
   body: [],
   head: Array<wdheadListType>,
   projectId:number
}

export type wdheadListType = {
    children:Array<wdheadInnerListType>,
    label: string,
    prop:string
}

export type wdheadInnerListType = {
    children: [],
    label: string,
    prop:string
}

// 可救治伤员数量分析-地震伤情系数列表\
export type injuryLevelType = {
    	firstValue: number,
		id: number,
		projectId: number,
		secondValue: number,
		thirdValue: number
}

// 可救治伤员数量分析-所需医疗资源种类和时间展示
export type typetimeShowType = {
    	id: number,
		injuryVO: Array<injuryVOType>,
		resourceName: string,
}

export type injuryVOType = {
    injuryLevel: string, 
    val: {
        number: number,
        time:number
    }
}

// 震后功能损失-导则算法计算-柱状图
export type lossFunctionCalcBarType = {
    name: string,
	vo1List: Array<vo1ListType>,
}